import { request } from '@/utils';
import { getRestBaseUrl } from '@/config';

// 查询
export const loadTaskList = (taskForm, page = { pageSize: 10, pageNum: 1 }) =>
  request({
    url: `${getRestBaseUrl()}/iop/taskService/list`,
    method: 'POST',
    data: { taskForm, page },
    timeout: 3 * 60 * 1000,
  });
